Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status speedup #1013

Merged
merged 6 commits into from
Jan 24, 2025
Merged

Status speedup #1013

merged 6 commits into from
Jan 24, 2025

Conversation

dotysan
Copy link
Contributor

@dotysan dotysan commented Jul 6, 2024

The recursive-readdir was so horribly slow/inefficient, running clasp status takes forever in a tree with lots of stuff in node_modules, .venv, etc. It even ran out of memory and crashed on one of my boxes.

This PR uses a fdir instead. Which is 1.27 gazillion times faster.

Closes #694

  • npm run test succeeds.
  • npm run lint succeeds.
  • Appropriate changes to README are included in PR.

@sqrrrl sqrrrl merged commit 4c339b2 into google:master Jan 24, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Processing of getProjectFiles() (and ignore patterns) needs revision
2 participants